import {proManagementList,highPosts} from "@/utils/interface"
import {proManagement,gethighPosts} from '@/services'
import {makeAutoObservable} from "mobx"


class HighPost{
    constructor(){
        makeAutoObservable(this)
    }
    gethighPost:highPosts[]=[]
  

    async highPost(){
        let result = await gethighPosts();
        console.log(result);
        
        if(result.data){
            this.gethighPost = result.rows
        }
    }   
  

}

export default new HighPost
